home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20010921-20020314
/
000150_fdc@watsun.cc.columbia.edu_Thu Nov 15 11:05:37 EST 2001.msg
< prev
next >
Wrap
Text File
|
2020-01-01
|
4KB
|
103 lines
Article: 12971 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: ZModem Problems
Date: 15 Nov 2001 16:04:45 GMT
Organization: Columbia University
Lines: 86
Message-ID: <9t0p2t$cjk$1@newsmaster.cc.columbia.edu>
References: <336f652d.0111141329.b5d3ad@posting.google.com> <9suos6$puh$1@newsmaster.cc.columbia.edu> <336f652d.0111150732.18b42f4f@posting.google.com>
NNTP-Posting-Host: watsun.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1005840285 12916 128.59.39.2 (15 Nov 2001 16:04:45 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 15 Nov 2001 16:04:45 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:12971
In article <336f652d.0111150732.18b42f4f@posting.google.com>,
Shifeux <shifeux@hotmail.com> wrote:
: > You mean, when running Zmodem software as an external protocol
: > over a Kermit connection?
:
: I think so, I am using the kermit client to connect to a remote host
: which only supports the zmodem transfer protocol. I was under the
: impression that kermit has its own way of handling the zmodem protocol
: by the set proto z statement at the begining of my script?
:
That's correct, but this does require external rz and sz programs that
work over standard input/output.
: > : ... but I get the following error using my
: > : script after issuing a receive * command:
: > :
: > : Readline:TIMEOUT
: > : Retry 0: Got TIMEOUT
: > :
: > These are messages from the Zmodem software.
:
: Thats what I thought, the transfer works sometimes and other times it
: does not. My problem is that I would need some way to trap that error
: so the script does not halt. Any ideas?
:
Put an IF FAILURE clause after the RECEIVE command?
: > : input 20 {Username:}
: > : output USER\13
: > : ...
: > :
: > You're not checking any of these INPUTs for failure. Thus even if you
: > script doesn't work, it will still start Zmodem in receive mode, and of
: > Zmodem will time out if there is no connection.
:
: I did have "if failure timeout" to catch this but i was experimenting
: due to the timeout errors i was receiving. Made no difference either
: way for me. The same timeout occurs.
:
What is "timeout"? It's not a Kermit command. Is it the name of a macro
that is defined in the context of this script?
: > : receive *
: >
: > What's the "*"? This tells Kermit to save the incoming file under the
: > name "*" (literally). You probably didn't mean that. Just leave it off.
:
: This is what I type to get the files from the remote host. In
: interactive mode typing receive * will transfer all the files in my
: outbin on the remote host to the local pwd with the appropriate file
: names.
:
No, RECEIVE means "passively wait for files to be sent by the other
Kermit". When the files arrive, they are stored under the names they are sent
with, except if you give RECEIVE an operand, this tells Kermit to store the
incoming file under that name. However, the operand is probably ignored for
Zmodem.
: I am able to use the very same commands in interactive mode and
: transfer files easily, however I think I am missing a parameter
: somewhere for the script. I have never seen the timeout errors while
: going through these steps manually unscripted.
:
I don't see anything obviously wrong. Use the traditional debugging
techniques:
SET INPUT ECHO ON
SET TAKE ECHO ON
to watch what's happening.
Hmmmm, something just occurred to me. You are using C-Kermit 8.0 Beta,
right? Recent releases of Kermit support something called "autodownload"
for both Kermit and Zmodem protocol transfers. If during either CONNECT
mode an INPUT or MINPUT command, a Kermit or Zmodem packet arrives, C-Kermit
automatically enters the appropriate protocol.
Therefore it is possible that the file was downloaded automatically before
your script ever reaches the RECEIVE command, which would explain why RECEIVE
times out. To rule this out, try adding:
SET TERMINAL AUTODOWNLOAD OFF
to your script.
- Frank